package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关系字段信息对象 ar_table_filed_relation
 * 
 * @author ruoyi_ln
 * @date 2022-03-01
 */
public class ArTableFiledRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 表关系编号 */
    @Excel(name = "表关系编号")
    private String relationNo;

    /** 父表关联字段 */
    @Excel(name = "父表关联字段")
    private String parentFiled;

    /** 子表关联字段 */
    @Excel(name = "子表关联字段")
    private String childFiled;

    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;

    public void setRecNo(String recNo) 
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setRelationNo(String relationNo) 
    {
        this.relationNo = relationNo;
    }

    public String getRelationNo() 
    {
        return relationNo;
    }
    public void setParentFiled(String parentFiled) 
    {
        this.parentFiled = parentFiled;
    }

    public String getParentFiled() 
    {
        return parentFiled;
    }
    public void setChildFiled(String childFiled) 
    {
        this.childFiled = childFiled;
    }

    public String getChildFiled() 
    {
        return childFiled;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("relationNo", getRelationNo())
            .append("parentFiled", getParentFiled())
            .append("childFiled", getChildFiled())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
